package com.woniuxy.microsystemuapserver.configure;

import org.apache.shiro.crypto.hash.SimpleHash;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Author: huhenggg
 * @Date: 2021/1/20 0020 下午 2:34
 */
 class studeng{
    public static void main(String[] args) {
        String hashAlgorithmName = "MD5";
        String credentials = "123";
        int hashIterations = 1024;
        Object obj = new SimpleHash(hashAlgorithmName, credentials, "superadmin",hashIterations);
        System.out.println(obj);
    }

}
